package com.llamarun;

public abstract class NonPlayerObject extends GameObject{
	private int speed;
	private final int originalSpeed = 10;
	
	public NonPlayerObject()
	{
		speed = originalSpeed;
	}
		
	public void update(int gameTime)
	{
		speed = originalSpeed + gameTime/150;
		//speed = originalSpeed + gameTime/1800;
		this.setX(this.getX()-speed);
	}
}
